#!/bin/bash

# 颜色定义
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m'

echo -e "${YELLOW}Running Django Tests...${NC}"
python manage.py test users.tests chat.tests industry_report.tests phase_summary.tests tech_insight.tests

echo -e "\n${YELLOW}Running API Tests...${NC}"
echo -e "\n${YELLOW}Testing User API...${NC}"
./test/api/test_user_api.sh

echo -e "\n${YELLOW}Testing Chat API...${NC}"
./test/api/test_chat_api.sh

echo -e "\n${YELLOW}Testing Industry Report API...${NC}"
./test/api/test_industry_report_api.sh

echo -e "\n${YELLOW}Testing Phase Summary API...${NC}"
./test/api/test_phase_summary_api.sh

echo -e "\n${YELLOW}Testing Tech Insight API...${NC}"
./test/api/test_tech_insight_api.sh 